package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class TicketDetailsVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty(name = "单次上限")
    private Integer singleCount;

    @ApiModelProperty(name = "规则图片")
    private String regularImage;

    @ApiModelProperty(name = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("开始时间戳")
    private Long beginTimeStamp;

    @ApiModelProperty("开始时间戳")
    private Long endTimeStamp;

    @ApiModelProperty("当前时间戳")
    private Long nowTimeStamp;

    @ApiModelProperty("用户持仓信息")
    private List<UserHoldTicketDetailsVO> holdColectionDetails;
}
